<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>管理员中心 - 企业信息管理系统</title>
    <link rel="stylesheet" href="../../css/common.css">
    <link rel="stylesheet" href="../../css/admin/index.css">
</head>
<body>
    <!-- 侧边栏导航 -->
    <nav class="sidebar">
        <div class="sidebar-header">
            <h2>管理员中心</h2>
        </div>
        <div class="sidebar-menu">
            <div class="menu-section">
                <h3>用户管理</h3>
                <a href="#" class="menu-item active" data-page="users">用户列表</a>
            </div>
            <div class="menu-section">
                <h3>内容管理</h3>
                <a href="#" class="menu-item" data-page="announcements">公告管理</a>
                <a href="#" class="menu-item" data-page="notices">通知管理</a>
                <a href="#" class="menu-item" data-page="news">新闻管理</a>
            </div>
            <div class="menu-section">
                <h3>评论管理</h3>
                <a href="#" class="menu-item" data-page="comments">评论列表</a>
            </div>
        </div>
        <div class="sidebar-footer">
            <div class="user-info" id="userInfo">
                <!-- 用户信息将通过JS动态加载 -->
            </div>
        </div>
    </nav>

    <!-- 主内容区 -->
    <main class="main-content">
        <header class="content-header">
            <h1 id="pageTitle">用户管理</h1>
            <div class="header-actions">
                <button class="add-btn" id="addButton">添加</button>
                <div class="search-box">
                    <input type="text" id="searchInput" placeholder="搜索...">
                </div>
            </div>
        </header>

        <div class="content-body" id="contentBody">
            <!-- 内容将通过JS动态加载 -->
        </div>
    </main>

    <!-- 模态框 -->
    <div class="modal" id="modal">
        <div class="modal-content">
            <div class="modal-header">
                <h2 id="modalTitle">添加用户</h2>
                <button class="close-btn" onclick="closeModal()">&times;</button>
            </div>
            <div class="modal-body" id="modalBody">
                <!-- 表单内容将根据不同操作动态加载 -->
            </div>
        </div>
    </div>

    <script src="../../js/config.js"></script>
    <script src="../../js/auth.js"></script>
    <script src="../../js/utils.js"></script>
    <script src="../../js/error-handler.js"></script>
    <script src="../../js/request.js"></script>
    <script src="../../js/admin/index.js"></script>
</body>
</html> 